package com.zh.operation.dao;

import com.zh.operation.domain.BedRestDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 床位人员午休表
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-02-26 20:39:42
 */
@Mapper
public interface BedRestDao {

	BedRestDO get(String id);
	
	List<BedRestDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);

	List<BedRestDO> list1(Map<String, Object> map);

	int count1(Map<String, Object> map);
	
	int save(BedRestDO bedRest);
	
	int update(BedRestDO bedRest);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	List<BedRestDO> getAll();
}
